package com.qf.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 
 * 
 * @author liuzishuo
 * @email sunlightcs@gmail.com
 * @date 2021-07-21 15:56:24
 */
@Data
@TableName("t_order")
public class OrderEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 
	 */
	@TableId
	private String oid;
	/**
	 * 
	 */
	private Integer uid;
	/**
	 * 
	 */
	private BigDecimal totalPrice;
	/**
	 * 
	 */
	private String name;
	/**
	 * 
	 */
	private String phone;
	/**
	 * 
	 */
	private String address;
	//1.支付宝 2.微信

    private Integer payType;
  //1.未支付
  //2.已支付
    private Integer status;

    private Date createTime;
    @TableField(value = "subject")
	private String subject;
	private String body;
	@TableField(exist = false)
	private List<OrderDetailEntity> orderDetailEntityList;
}
